package com.yang.design.create.factory.simpleFactory;

import com.yang.design.create.factory.com.AwardInfo;

/**
 * 调用方
 */
public class Client {
    public static void main(String[] args) {
        String type = "B";
        AbstractGoods goods = Factory.getInstance(type);
        goods.product();
    }
}
